package MCQReaderInterface;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.JPanel;

public class MCQReaderTools extends JPanel{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private MCQReaderButtons buttons;
	private MCQReaderInformation information;
	private MCQReaderTree Tree;
	
	MCQReaderTools(){
		super(new BorderLayout());
		
		
		buttons = new MCQReaderButtons();	
		information  = new MCQReaderInformation();	
		Tree = new MCQReaderTree();
		
		this.add(Tree, BorderLayout.CENTER);
		this.add(information,  BorderLayout.SOUTH);
		this.add(buttons, BorderLayout.NORTH);
		//this.setMaximumSize(getPreferredSize());
		this.setBackground(Color.green);
	}
	
	public MCQReaderButtons getButtons() {
		return buttons;
	}

	public MCQReaderInformation getInformation() {
		return information;
	}

	public MCQReaderTree getTree() {
		return Tree;
	}
	
}
